package com.itheima.xiaoshu;

import java.math.BigDecimal;

public class Test01 {

    public static void main(String[] args) {

       /* System.out.println(10.0/3);
        BigDecimal bd1 = new BigDecimal(10.5);*/
        double d=10.5;
        BigDecimal bd2 = new BigDecimal(d+"");
        BigDecimal bd3 = new BigDecimal(0.317+"");
        BigDecimal result = bd2.divide(bd3,4,BigDecimal.ROUND_HALF_UP);
        System.out.println(result);
        int i=10;
        byte b=20;
        Byte c=30;

    }
}
